YAYDP\Abstracts\YAYDP_Cart_Discount_Rule S

Total Complexity 25
Dependencies 2
Dependents 1
Total lines 128
Lines of code 104
Logical lines of code 44
Comment lines 2
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
calculate_adjustment()
S
49 4 33
replace_tooltip_variables()
S
56 4 17
get_coupon_code()
S
68 4 6
get_tooltip()
S
70 3 6
get_coupon_data()
S
53 1 23
get_name()
S
78 2 3
get_maximum_adjustment_amount()
S
74 2 4
__construct()
S
81 1 3
add_encouraged_notice()
S
100 1 0
get_pricing_type()
S
80 1 3
get_pricing_value()
S
80 1 3
process()
S
81 1 3